﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: U_IntegralProductLogEntity.cs
// 修改时间：2020-9-8 10:40:13
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：U_IntegralProductLog 的实体类.
	/// </summary>
	[Table("U_IntegralProductLog")]
	public partial class U_IntegralProductLogEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// (主键)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private System.String _productID = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("ProductID",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ProductID
		{
			get {return _productID;}
			set {_productID = value;}
		}
		
		private System.String _userID = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("UserID",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String UserID
		{
			get {return _userID;}
			set {_userID = value;}
		}
		
		private System.String _needS = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("NeedS",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String NeedS
		{
			get {return _needS;}
			set {_needS = value;}
		}
		
		private DateTime? _buyTime = null;
		/// <summary>
		/// 
		/// </summary>
		[Column("BuyTime",TypeName="datetime")]
		public DateTime? BuyTime
		{
			get {return _buyTime;}
			set {_buyTime = value;}
		}
		
		private System.String _buyCounts = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("BuyCounts",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String BuyCounts
		{
			get {return _buyCounts;}
			set {_buyCounts = value;}
		}
		
		private System.Boolean _buyState = false;
		/// <summary>
		/// 
		/// </summary>
		[Column("BuyState",TypeName="bit")]
		public System.Boolean BuyState
		{
			get {return _buyState;}
			set {_buyState = value;}
		}
		
		#endregion
	}
}
